package com.alks.function.service.stockdept.pcfactorystockquery;

import com.alks.entity.data.response.ResponseInfo;
import com.alks.function.data.request.stockdept.pcfactorystockwork.*;
import com.alks.function.service.impl.stockdept.pcfactorystockquery.MyOrdDto;

import java.util.List;
import java.util.Map;

public interface IPcFitDegService {
    ResponseInfo getFdRqsQuery(FdRqsRequest request);

    ResponseInfo fdPurDisAdd(List<PurDisAddRequest> request);

    Map<String, Object> getOrdQuery(OrdQueryRequest request);

    ResponseInfo getFdLotDetQuery(String reqNo, String purLot, String mtlNo);

    ResponseInfo getFdMtlSumQuery(String reqNo, String purLot, String mtlNo);

    ResponseInfo myOrdUpdate(MyOrdUpRequest request);

    ResponseInfo creatPurUpdate(List<MyOrdUpRequest> request);

    ResponseInfo fdMtlSumUpdate(List<MtlSumUpRequest> request, Integer flag);

    ResponseInfo fdMtlSumCancel(String slipNo);

    ResponseInfo getFitReamarkQuery();

    /**
     * 根据订单集合获取打印所需数据
     * @param purNoList 订单集合
     * @return 打印所需数据
     */
    List<MyOrdDto> getExportByPurNo(List<String> purNoList);

    /**
     * 退单
     * @param id 退单id
     */
    void getPurBack(Integer id);
}
